﻿using MediatR;
using THE_WIND_RISES.Common.Dtos;

namespace Production_Set.API.Application.Commands.Procurement
{
    public class OrderLinesAddCommend : IRequest<Result>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int OrderLineId { get; set; }

        /// <summary>
        /// 物料
        /// </summary>
        public int InventoryInfoId { get; set; }

        /// <summary>
        /// 单价(不含税)
        /// </summary>
        public string OrderLinePrice { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int OrderLineNum { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 行金额
        /// </summary>
        public decimal BankAmount { get; set; }

        /// <summary>
        /// 行摘要
        /// </summary>
        public string LineSummary { get; set; }

        /// <summary>
        ///采购序号
        /// </summary>
        public int PurchasinId { get; set; }

        /// <summary>
        /// 删除
        /// </summary>
        public int IsDelete { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string? Handle { get; set; }
        /// <summary>
        /// 操作内容
        /// </summary>
        public string? HandleContext { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? HandleTime { get; set; }
        /// <summary>
        /// pid=1:创建   pid=2:审批   pid=3:删除   pid=4:修改  
        /// </summary>
        public int Pid { get; set; }
    }
}
